<!-- IF S_MOLTEN_CHAT_ENABLED and (S_MOLTEN_CHAT_SEND or S_MOLTEN_CHAT_VIEW) -->

<!--
	/**
	*
	* @package MoltX QuickChat
	* @author $Author: moltendorf $
	* @version $Id: molten_chat_client.html 216 2010-01-19 00:22:38Z moltendorf $
	* @latest $URL: http://molten-chat.googlecode.com/svn/trunk/source/styles/prosilver/template/molten_chat_client.html $
	* @copyright (c) 2005-2009 Matthew Oltendorf
	* @license http://opensource.org/licenses/gpl-license.php GNU Public License
	*
	*/
-->

<div class="forabg shoutbox">
	<div class="inner"><span class="corners-top"><span></span></span>
		<ul class="topiclist">
			<li class="header">
				<dl class="icon">
					<dt><a href="{MOLTEN_CHAT_POPOUT}">{L_MOLTEN_CHAT_SHOUTBOX}</a></dt>
					<!-- IF not S_MOLTEN_CHAT_ROOM --><dd><a href="<!-- IF not S_MOLTEN_CHAT_HIDDEN -->{MOLTEN_CHAT_HIDE}">{L_MOLTEN_CHAT_HIDE_SHOUTBOX}<!-- ELSE -->{MOLTEN_CHAT_SHOW}">{L_MOLTEN_CHAT_SHOW_SHOUTBOX}<!-- ENDIF --></a></dd><!-- ENDIF -->
				</dl>
			</li>
		</ul>

		<!-- IF not S_MOLTEN_CHAT_HIDDEN or S_MOLTEN_CHAT_ROOM -->
		<ul class="topiclist forums">
			<li>
				<div id="molten_chat_users">
					<p style="font-weight: normal; ">{L_MOLTEN_CHAT_CONNECTING}</p>
				</div>

				<div class="container">
					<div<!-- IF not S_MOLTEN_CHAT_SEND --> class="tall"<!-- ENDIF --> id="molten_chat_history">
						<p>{L_MOLTEN_CHAT_CONNECTING}</p>
					</div>

					<!-- IF S_MOLTEN_CHAT_SEND -->
					<form action="#" id="molten_chat_form">
						<fieldset>
							<legend></legend>

							<div class="input right">
								<input class="button1" type="submit" value="Send" />
							</div>

							<div class="input left">
								<input id="molten_chat_message" maxlength="{MOLTEN_CHAT_MESSAGE_LENGTH}" type="text" />
							</div>
						</fieldset>
					</form>
					<!-- ENDIF -->
				</div>
			</li>
		</ul>
		<!-- ENDIF -->
	<span class="corners-bottom"><span></span></span></div>
</div>

<div>
	<div class="shoutbox copyright">Powered by <a href="http://code.google.com/p/molten-chat/">MoltX QuickChat</a> &copy; 2005-2009 Matthew Oltendorf</div>
</div>

<!-- IF not S_MOLTEN_CHAT_HIDDEN or S_MOLTEN_CHAT_ROOM -->
<script src="{T_TEMPLATE_PATH}/molten_chat.js" type="text/javascript"></script>
<script type="text/javascript">
// <![CDATA[
	// Set colors.
	chat.Colors ("0,0,0", "0,0,0");

	// Initiate chat.
	chat.Initialize (
		document.getElementById ("molten_chat_history"),
		"{MOLTEN_CHAT_RETRIEVE}",
		"{MOLTEN_CHAT_RETRIEVE}",
		"{MOLTEN_CHAT_USERNAME}",
		(100),
		<!-- IF S_MOLTEN_CHAT_SEND -->document.getElementById ("molten_chat_form"),
		document.getElementById ("molten_chat_message"),
		"{MOLTEN_CHAT_SEND}"<!-- ELSE -->'',
		'',
		''<!-- ENDIF -->,
		document.getElementById ("molten_chat_users"),
		"{MOLTEN_CHAT_RETRIEVE}",
		(2500),
		(1)
	);
// ]]>
</script>
<!-- ENDIF -->
<!-- ENDIF -->